package start.demo01.datatype.json.entity.editor.jsonEditor;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import start.demo01.datatype.json.interfaces.JSONEditor;

public class JSONESEditor extends JSONEditor {

    //Object intoES()
    public JSONESEditor(String args) {
        super(args);
    }

    {
        name = "ES";
    }

    @Override
    protected void operationObject(JSONObject object, String key) {
        map.put("es",object);
    }

    @Override
    protected void operationArray(JSONArray array, int index) {
        return;
    }

    @Override
    protected void operation(JSONObject object) {

    }
}
